import { Injectable } from '@angular/core';

import { BaseService } from '../base.service';

/*
 *  部门列表
 * */
export interface Dept {
  id?: number;
  departmentname: string;
  fatherId: number;
  state: 1 | 0;
  highlight?: boolean;
  orderNum: number;
}

@Injectable({
  providedIn: 'root'
})
export class DeptService extends BaseService<Dept> {
  constructor() {
    super();
    this.apiPrefix = 'department';
  }
}
